<?php if ( comments_open() ) : ?>
			<?php

			if (!empty($_SERVER['SCRIPT-FILENAME']) && basename($_SERVER['SCRIPT-FILENAME']) == 'comments.php') {
				die(__('You cannot access this page directly.', 'redox_localize'));
			}

			if (post_password_required()) : ?>
					<?php 
						_e( 'This post is password protected. Please enter a password to view the comments.', 'redox_localize');
					?>
			<?php endif;

			if (!post_password_required()) : 

			?>
			<div class="comment_wrap full column">
			<div class="post comment_form">
			<?php
				$commenter = wp_get_current_commenter();
				$req = get_option( 'require_name_email' );
				$aria_req = ( $req ? " aria-required='true'" : '' );
				comment_form(
					array(
						'title_reply'=>'', 
						'fields' => apply_filters( 'comment_form_default_fields', 
							array(	
				    			'author' => 
				    				'<div class="comment_form_meta"><div class="author cf-meta">' .
				     				'<input id="author" name="author" placeholder="Name' .  ( $req ? ' * ' : '' ) . ' " type="text" value="' . esc_attr( $commenter['comment_author'] ) .
				     	 			'" size="17"' . $aria_req . ' />' .
									'</div>' ,

				    			'email' =>
				      				'<div class="email cf-meta">' .
				      				'<input id="email" name="email" placeholder="Email' .  ( $req ? ' * ' : '' ) . ' " type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) .
				      				'" size="17"' . $aria_req . ' />'  . '</div>',

				   			 	'url' =>
				    			  '<div class="url cf-meta">' .
				    			  '<input id="url" name="url" type="text" placeholder="URL" value="' . esc_attr( $commenter['comment_author_url'] ) .
				    			  '" size="17" />' . '</div></div>'
				    		)
				  		),

					'cancel_reply_link' => 'Cancel Reply',
					'comment_notes_before' => '', 
					'comment_notes_after' => '',
					'comment_field' => '', 
					'logged_in_as' => sprintf( __( '<div class="comment_form_meta logged_in_as"><div class="comment_form_meta_row"><div class="user cf-meta"><a href="%1$s">%2$s</a></div><div class="sign_out cf-meta"><a href="%3$s" title="Sign out">Sign Out</a></div></div></div>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) ));
				?>			
			</div>
			</div>

			<?php
				if (have_comments()) : 
			?>
				<div class="post comment-post">
					<?php wp_list_comments('callback=redox_comments'); ?>
				</div>
				<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : ?>
				<div class="comment-pagination">
				<div class="back comment-pagination-meta">
					<?php previous_comments_link(__( 'Older Comments', 'redox_localize')); ?>
				</div>
				<div class="forward comment-pagination-meta">
					<?php next_comments_link(__( 'Newer Comments', 'redox_localize')); ?>
				</div>
			</div>
				<?php endif; ?>
		<?php
			elseif (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
		<?php endif; 
		 ?>



 	<?php endif;?>

<?php endif; ?>